package com.gskj.eduorder.client;

import com.gskj.commonutils.orderVO.UcenterMemberOrder;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author : Connor-G 康纳-郭
 * @date : 19:13 20.8.17
 * @Company : http://www.gskj.club
 * @Version : 1.0
 */

@Component
@FeignClient(name = "service-ucenter")
public interface UcenterClient {

    @GetMapping("/educenter/member/get/memberInfoForOrder/{id}")
    public UcenterMemberOrder getMemberById(@PathVariable("id") String id);

}
